package dao.iml;

import pojo.Course;
import pojo.Course_Lesson;
import pojo.Course_Section;

import java.util.List;

public interface CourseContentDao {
    //根据课程ID查询相关信息
    public List<Course_Section> findSectionCourseId(int courseId);
    //根据章节ID查询章节相关的课时信息
    public List<Course_Lesson> findLessonBysectionId(int sectionId);
    //回显章节对应的课程信息
    public Course findCourseById(int course_id);
    public Course findCourseByCourseId(int course_id);
    //保存章节信息
    public int saveSection(Course_Section course_section);
    //修改章节信息
    public Course_Section updateSection(Course_Section course_section);

    public int updateSectionStatus(Course_Section course_section);

    public int saveLesson(Course_Lesson course_lesson);

    public int updateLess(Course_Lesson course_lesson);
}
